﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            ServiceReference1.Service1SoapClient ws = new ServiceReference1.Service1SoapClient();
            Console.WriteLine("linha inicial");
            ServiceReference1.MeuObjeto obj = ws.obterObjeto();
            Console.WriteLine(obj.nome);
            obj.nome = "nome novo";
            if (ws.salvarObjeto(obj))
                   Console.WriteLine("ok");
             Console.ReadLine();
        }
    }
}
